# -*- coding: utf-8 -*-
import cgi
import datetime
import wsgiref.handlers

from google.appengine.ext import db
from google.appengine.api import users
from google.appengine.ext import webapp

from models.enhancedModel import VersionLeech

import decorator as dc

class VersionLeechContr( webapp.RequestHandler ):
    @dc.decorate
    def get(self, action, *params, **kwds):
        if action == 'purgeVersionLeech':
            self.response.out.write( VersionLeech.purgeOldEntities() )
            
        
